package cn.topevery.garden.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import com.alibaba.fastjson.annotation.JSONField;
import cn.topevery.garden.entity.serializer.GeometrySerializer;

/**
 * 公共阅读状态 DTO
 */
@Data
@ApiModel(value = "BulletinReadDTO", description = "公共阅读状态 DTO")
public class BulletinReadDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 公告Id */
    @ApiModelProperty(value = "公告Id")
    private String bulletinId;

    /** 用户Id  */
    @ApiModelProperty(value = "用户Id ")
    private String userId;

    /** 用户名称  */
    @ApiModelProperty(value = "用户名称 ")
    private String userName;

    /** 状态 0 未读  1 已读  */
    @ApiModelProperty(value = "状态 0 未读  1 已读 ")
    private Short readStatus;

    /** 阅读时间  */
    @ApiModelProperty(value = "阅读时间 ")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime readDate;



}
